package com.iretailer.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.iretailer.base.SuperMapper;
import com.iretailer.model.ItemNote;
import com.iretailer.model.Note;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface NotesMapper extends SuperMapper<Note> {

    /**
     *
     * @param page
     * @param siteId 可为null
     * @param startTime 可为null
     * @param endTime 可为null
     * @return
     */
    List<ItemNote> selectNotePage(Page<ItemNote> page, @Param("siteId") String siteId, @Param("startTime")String startTime, @Param("endTime")String endTime);
}
